#define _CRT_SECURE_NO_WARNINGS 1
#include"SLT.h"

int main()
{
	SListNode* Slist = NULL;
	SListPushBack(&Slist, 5);
	SListPrint(Slist);
	SListNode* ret = SListFind(Slist, 5);
	
	SLTInsert(&Slist, ret, 1);
	SListPrint(Slist);
	SLTErase(&Slist, ret);
	SListPrint(Slist);
	SListNode* ret1 = SListFind(Slist, 1);
	SListInsertAfter(ret1, 8);
	SListPrint(Slist);
	SListEraseAfter(ret1);
	SListPrint(Slist);


	return 0;
}
